﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="Test1.Models" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    主页
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
      <ul>
          <% foreach (T_userinfo m in (IEnumerable)ViewData.Model)
          { %>
               <li> <%= m.id %> </li>
               <li> <%= m.name %> </li>           
          <% } %>
     </ul>
     
</asp:Content>
